package com.heima.model.wemedia.dtos;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.heima.model.common.dtos.PageRequestDto;
import lombok.Data;

import java.util.Date;

@Data
public class WmNewsPageReqDto extends PageRequestDto {
    private Short status;//状态
    @JsonAlias(value = {"beginPubDate","begin_pubdate"})
    private Date beginPubDate;//开始时间
    @JsonAlias(value = {"endPubDate","end_pubdate"})
    private Date endPubDate;//结束时间
    @JsonAlias(value = {"channelId","channel_id"})
    private Integer channelId;//所属频道ID
    @JsonAlias(value = {"keyword","key_word"})
    private String keyword;//关键字
}